Skip to content

feat(github-agent): complete command router v2 - #190

Merged
JSONbored merged 2 commits into
JSONbored:mainfrom
oktofeesh1:codex/github-agent-command-router-v2
Jun 1, 2026
Merged

feat(github-agent): complete command router v2#190
JSONbored merged 2 commits into
JSONbored:mainfrom
oktofeesh1:codex/github-agent-command-router-v2

Conversation

@oktofeesh1

Copy link
Copy Markdown
Contributor

Summary

  • complete the @gittensory command router v2 for public issue-comment commands
  • route reviewability, repo-fit, and packet commands to the right agent flows
  • align the app command catalog with the GitHub command catalog where commands are public-safe

What changed

  • Added a shared @gittensory command catalog covering help, preflight, blockers, duplicate-check, miner-context, next-action, reviewability, repo-fit, and packet.
  • Added public-safe response sections for reviewability, repo-fit, and packet outputs.
  • Routed preflight/reviewability to branch preflight, packet to PR packet generation, blockers to blocker explanation, and the remaining planning commands to next-work planning.
  • Recorded command usage snapshots with hashed actor IDs and fail-open telemetry writes so usage recording cannot block GitHub replies.
  • Expanded sanitizer and regression coverage for scoreability, public score estimates, private reviewability terms, wallet/hotkey/payout language, raw command leakage, and no-cache PR metadata fallbacks.

Why

Closes #140. The GitHub App had only the first command set wired; the public command surface now matches the planned router v2 behavior without leaking private scorer or maintainer-only context into public GitHub comments.

Validation

  • npm run typecheck
  • npm run test:unit -- test/unit/github-commands.test.ts test/unit/queue.test.ts
  • npm run test:coverage
  • npm run test:ci
  • Codex Security diff scan: 5/5 worklist rows reviewed, no reportable findings after fixing raw actor telemetry in the usage snapshot payload.

Notes

  • Audit events still keep operational actor context; product-style command usage snapshots store only hashed actor IDs.
  • The packet and reviewability responses remain public-safe summaries; private scorer context stays in MCP or the control panel.

@JSONbored JSONbored left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@oktofeesh1 This is ready from my side. Command router v2 is wired through GitHub commands, queue processing, API behavior, and tests, with useful coverage for aliases, authorization boundaries, and queue-side execution. Current checks are green and the merge tree is clean.

@dosubot dosubot Bot added the lgtm label Jun 1, 2026
@JSONbored
JSONbored merged commit f414336 into JSONbored:main Jun 1, 2026
3 checks passed
@JSONbored JSONbored added gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier. and removed feature gittensor:bug Gittensor-scored bug fix — scores a 0.05x multiplier. labels Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(github-agent): add @gittensory command router v2

2 participants